package system

import (
	"gostore/dao"
)

type MenusDaoT struct {
	dao.DaoT
}

var MenusDao = MenusDaoT{}

func (MenusDaoT) ListAll(list interface{}) error {
	return dao.GetDB().Find(&list).Error
}
